projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
098e59d
)
* src/xwidget.c (Fmake_xwidget): Use XSETXWIDGET instead of XSETPSEUDOVECTOR.
author
Grégoire Jadi
<gregoire.jadi@gmail.com>
Fri, 28 Jun 2013 15:16:47 +0000
(17:16 +0200)
committer
Grégoire Jadi
<gregoire.jadi@gmail.com>
Fri, 28 Jun 2013 15:16:47 +0000
(17:16 +0200)
src/xwidget.c
patch
|
blob
|
history
diff --git
a/src/xwidget.c
b/src/xwidget.c
index 2f5e423ce427941d51b010cb0e8323e5ae1e2ac4..f0f1b9870056aef5cb2cc261aa3096571f7ccd20 100644
(file)
--- a/
src/xwidget.c
+++ b/
src/xwidget.c
@@
-215,7
+215,7
@@
TYPE is a symbol which can take one of the following values:
xw->height = XFASTINT(height);
xw->width = XFASTINT(width);
- XSET
PSEUDOVECTOR (val, xw, PVEC_XWIDGET
); // set the vectorlike_header of VAL with the correct value
+ XSET
XWIDGET (val, xw
); // set the vectorlike_header of VAL with the correct value
Vxwidget_list = Fcons (val, Vxwidget_list);
xw->widgetwindow_osr = NULL;
xw->widget_osr = NULL;